﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminInner.Master" AutoEventWireup="true" CodeBehind="AdminRoleConfig.aspx.cs" Inherits="WebSite.Admin.SystemSet.AdminRoleConfig" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style type="text/css">
<!--
.STYLE11 {font-size: 12px}
.STYLE13 {font-size: 12px; font-weight: bold; }
.STYLE14 {
	color: #03515d;
	font-size: 12px;
}
    -->
</style>
<script type="text/javascript" language="javascript" src="../js/tableliststyle.js">
    
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr><td width="8" background="../images/tab_12.gif">&nbsp;</td><td height="15px" ></td> <td width="8" background="../images/tab_15.gif">&nbsp;</td></tr>
      <tr>
        <td width="8" background="../images/tab_12.gif">&nbsp;</td>
        <td>
       

            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
           <tr>
          <td colspan="4" width="100%" height="25" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE13">
              <asp:Literal ID="litName" runat="server"></asp:Literal>的权限设置信息</span></div></td>
          </tr>       
        
            </table>

      <asp:Repeater ID="rptFun" runat="server" OnItemDataBound="rptFun_ItemDataBound">
                <HeaderTemplate>
                    <table cellpadding="5" cellspacing="1" width="100%" style="border-bottom:1px solid Balck;">
                        <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td align="left" style="font-weight: bold;color:Red;font-size:13px;padding-top:6px;border-top:1px solid Black;">
                            <%--<%#Container.ItemIndex + 1%>--%>
                            <asp:HiddenField ID="hidFunId" Value='<%#Eval("ID")%>' runat="server" />
                            <%#Eval("FunctionName")%>
                            <!-- 当前顶级菜单的功能菜单 如果有的话 -->
                        </td>
                    </tr>
                    <tr>
                        <td align="left" bgcolor="#FFFFFF" style="padding-left: 20px;">
                            <!-- 当前顶级菜单的二级菜单列表 -->
                            <asp:DataList ID="rptSubFun" runat="server" OnItemDataBound="rptSubFun_ItemDataBound" RepeatColumns="2" RepeatDirection="Horizontal">
                                <HeaderTemplate>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tbody><tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                <td valign="top">
                                <table style="min-width:360px;">
                                    <tr>
                                        <td align="left" class="chkBox" style="font-weight: bold;color:Blue; font-size: 13px;padding:5px 0 5px 0;">
                                            <asp:HiddenField ID="hidSubFunID" runat="server" Value='<%#Eval("ID")%>' />
                                            <%#Eval("FunctionName")%>
                                            <!-- 当前二级菜单的功能菜单 如果有的话 -->
                                            <asp:Repeater ID="rptSubFunItem" runat="server" OnItemDataBound="rptFunItem_ItemDataBound" >
                                                <HeaderTemplate>
                                                    <table border="0" cellpadding="0" cellspacing="0">
                                                        <tbody>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <tr>
                                                        <td class="item" style="padding: 2px 0 0 15px; font-weight: normal; color: Black;
                                                            font-size: 12px;">
                                                            <asp:HiddenField ID="hidItemId" runat="server" Value='<%#Eval("ID")%>' />
                                                            <%#Eval("ItemName")%>
                                                        </td>
                                                        <td style="font-weight:normal;color:Black;">
                                                            <%--<asp:CheckBox ID="chkFuncItem" runat="server" CssClass="itemChk" />--%>
                                                            <asp:CheckBoxList ID="chklstFunItem" runat="server" RepeatDirection="Horizontal">
                                                            </asp:CheckBoxList>
                                                        </td>
                                                        </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    </tbody> </table>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </td>
                                    </tr>
                                
                                </table>
                                </td>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </tr></tbody></table>
                                </FooterTemplate>
                            </asp:DataList>
                              <asp:Repeater ID="rptFunItem" runat="server" OnItemDataBound="rptFunItem_ItemDataBound">
                                                <HeaderTemplate>
                                                    <table border="0" cellpadding="0" cellspacing="0">
                                                        <tbody>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <tr>
                                                        <td class="item" style="padding: 2px 0 0 15px; font-weight: normal; color: Black;
                                                            font-size: 12px;">
                                                            <asp:HiddenField ID="hidItemId" runat="server" Value='<%#Eval("ID")%>' />
                                                            <%#Eval("ItemName")%>
                                                        </td>
                                                        <td style="font-weight:normal;color:Black;">
                                                            <%--<asp:CheckBox ID="chkFuncItem" runat="server" CssClass="itemChk" />--%>
                                                            <asp:CheckBoxList ID="chklstFunItem" runat="server" RepeatDirection="Horizontal">
                                                            </asp:CheckBoxList>
                                                        </td>
                                                        </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    </tbody> </table>
                                                </FooterTemplate>
                                            </asp:Repeater>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </tbody> </table>
                </FooterTemplate>
            </asp:Repeater>

           
        </td>
        <td width="8" background="../images/tab_15.gif">&nbsp;</td>
      </tr>
     
    </table>
      
    </td>
  </tr>

    <tr>
    <td height="35" background="../images/tab_19.gif">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="../images/tab_18.gif" width="12" height="35" /></td>
        <td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td class="STYLE14" valign="middle" align="center">
          <asp:button id="SureBtn" runat="server" Width="100px" CssClass="ButtonCss" 
                Text="确定" onclick="SureBtn_Click" ></asp:button>&nbsp;&nbsp
						<asp:button id="ReturnBtn" runat="server" Width="100px" 
                CssClass="ButtonCss" Text="返回"
							CausesValidation="False" onclick="ReturnBtn_Click" ></asp:button>
			

   </td>
   </tr>
   </table>
        </td>
        <td width="16"><img src="../images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table>
    </td>
  </tr>
   

</table>
</asp:Content>